#include "model_send.h"

string network::model_send::get_string()
{
	string rw;

	typedef list<model::client>::iterator it;
	list<model::client> &l = _model->get_clients();
	for(it i = l.begin(); i != l.end(); ++i) {
		boost::shared_ptr<model::client> clt(&(*i), 
						     core::null_deleter());
		network::client_send snd(get_impl()->clone(), clt);
		rw += snd.get_string();
	}
	return rw;
}

